#include "HiranipraShared.h"

#ifndef _SHARED_MATH_RECT_H_
#define _SHARED_MATH_RECT_H_

namespace Hiranipra {
	namespace Math {

		typedef struct Rect2D_t {
			union {
				float value[ 4 ];
				struct {
                    float   x, y;
                    float   w, h;
				};
			};
		} Rect2D;

		typedef struct Rect3D_t {
			union {
				float value[ 6 ];
				struct {
                    float   x, y, z;
                    float   w, h, l;
				};
			};
		} Rect3D;

	}
}

#endif // _SHARED_MATH_RECT_H_